package com.wc.alorithm_luogu.P5715;

import java.util.Arrays;
import java.util.Scanner;

/**
 * @Author congge
 * @Date 2023/4/18 10:39
 * @description
 * https://www.luogu.com.cn/problem/P5715
 * 三位数排序
 */
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int[] arr = new int[3];
        int n = 3;
        while (--n >= 0){
            arr[n] = sc.nextInt();
        }

        Arrays.sort(arr);

        System.out.print(arr[0]);

        for (int i = 1; i < arr.length; i++) {
            System.out.print(" " + arr[i]);
        }
    }
}
